package com.chang.xmlAop;

import org.springframework.stereotype.Component;

@Component
public class CalculatorImpl implements Calculator {
    @Override
    public int count(int a, int b) {
        int result = a + b;
        // int str = 3/0;
        System.out.println("方法内部结果:>>>>>" + result);
        return result;
    }
}
